gdk: Don't second-guess whether a context is GLES
authorAdam Jackson <ajax@redhat.com>
Tue, 18 Oct 2016 19:26:18 +0000 (15:26 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 21 Oct 2016 15:39:24 +0000 (11:39 -0400)
We've already set ->use_es correctly at context creation time, all this
can possibly do is change our mind about what kind of GL we're using.

Signed-off-by: Adam Jackson <ajax@redhat.com>
https://bugzilla.gnome.org/show_bug.cgi?id=773180

gdk/gdkglcontext.c

index bf6e45f5a255164464aae134d68f898fcd15b6ba..216a19a4cb1a63deb1a8e1a34db67b24a188e5b0 100644 (file)
@@ -769,7 +769,6 @@ gdk_gl_context_check_extensions (GdkGLContext *context)
   if (priv->extensions_checked)
     return;
 
-  priv->use_es = !epoxy_is_desktop_gl ();
   priv->gl_version = epoxy_gl_version ();
 
   if (priv->use_es)